package org.jeecg.modules.procurement.vo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.jeecg.common.aspect.annotation.AutoRecordLog;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * @Description: 原料采购计划单明细
 * @Author: jeecg-boot
 * @Date:   2024-06-06
 * @Version: V1.0
 */
@ApiModel(value="buss_material_procurement_plan_detailPage对象", description="原料采购计划单明细")
@Data
public class BussMaterialProcurementPlanDetailPage implements Serializable {
    private static final long serialVersionUID = 1L;

	/**主键*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "主键")
    private String id;
	/**计划单id*/
    @ApiModelProperty(value = "计划单id")
    private String planId;
    /**请购单明细id*/
    @ApiModelProperty(value = "请购单明细id")
    private String applicationDetailId;
	/**原料id*/
	@Excel(name = "原料id", width = 15)
    @ApiModelProperty(value = "原料id")
    private String materialId;
    /**原料编号*/
    @Excel(name = "原料编号", width = 15)
    @ApiModelProperty(value = "原料编号")
    private String materialCode;
    /**原料名称*/
    @Excel(name = "原料名称", width = 15)
    @ApiModelProperty(value = "原料名称")
    private String materialName;
    /**规格*/
    @Excel(name = "规格", width = 15)
    @ApiModelProperty(value = "规格")
    private String spec;
	/**供货单位id*/
	@Excel(name = "供货单位id", width = 15)
    @ApiModelProperty(value = "供货单位id")
    private String supplierId;
    /**供货单位名称*/
    @Excel(name = "供货单位名称", width = 15)
    @ApiModelProperty(value = "供货单位名称")
    private String supplierName;
    /**现有库存*/
    @Excel(name = "现有库存", width = 15)
    @ApiModelProperty(value = "现有库存")
    private java.math.BigDecimal number;
    /**计划采购*/
    @Excel(name = "安全库存", width = 15)
    @ApiModelProperty(value = "计划采购")
    private java.math.BigDecimal stockQuantity;
	/**计划采购*/
	@Excel(name = "计划采购", width = 15)
    @ApiModelProperty(value = "计划采购")
    private java.math.BigDecimal num;
	/**备注*/
	@Excel(name = "备注", width = 15)
    @ApiModelProperty(value = "备注")
    private String remark;
	/**用途*/
	@Excel(name = "用途", width = 15)
    @ApiModelProperty(value = "用途")
    private String useDesc;
	/**到货日期*/
	@Excel(name = "到货日期", width = 15)
    @ApiModelProperty(value = "到货日期")
    private String arrivalDate;
	/**创建人*/
    @ApiModelProperty(value = "创建人")
    private String createBy;
	/**创建日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建日期")
    private Date createTime;
	/**更新人*/
    @ApiModelProperty(value = "更新人")
    private String updateBy;
	/**更新日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "更新日期")
    private Date updateTime;
	/**所属部门*/
    @ApiModelProperty(value = "所属部门")
    private String sysOrgCode;
}
